<template>
  <card-container
    :title="`与 ${keywords} 关键词相关的 问题 共 ${total} 条`"
    width="816px"
  >
    <answer-card card-type="2" v-for="(val,index) in resultList" :info="val" :key="val.questionId"></answer-card>
    <empty-card v-if="resultList.length===0" height="556px"></empty-card>

  </card-container>


</template>

<script>
  import CardContainer from "../../components/pc/cardContainer";
  import EmptyCard from '../../components/pc/emptyCard';
  import AnswerCard from "../../components/pc/answerCard";
  export default {
    name: "project",
    components:{

      CardContainer,AnswerCard,EmptyCard
    },
    props:{
      resultList:{
        type:Array,
        default:()=>([])
      },
      keywords:{
        type:String,
        default:''
      },
      total:{
        type:Number,
        default:0
      },
    }
  }
</script>

<style lang="scss" scoped>



</style>
